package  toUse{
	import interImpl.ImplFlyWithWings;
	import interImpl.ImplQuack;
	/**
	 * ...
	 * @author wibrst@qq.com
	 */
	public class MallardDuck extends Duck{
		
		public function MallardDuck() {
			this.quackBehavior = new ImplQuack;
			this.flyBehavior = new ImplFlyWithWings;
		}
		
		override  public function display():void {
			trace( this, "display~~" );
		}
		
	}

}